// pages/previewface/previewface.js
//获取应用实例
const app = getApp()
Page({
  data: {
    content:null,
  },
  onLoad: function(options) {
    console.log(decodeURIComponent(options.map))
    var map=JSON.parse(decodeURIComponent(options.map));
    this.setData({
     content:map
    })
  },

  btnReturn() {
   wx.navigateBack();
  },
  btnZhuCe(){
    wx.redirectTo({
      url: '../guidepage/guidepage?userId='+this.data.content.userId+'&userName='+this.data.content.userName+"&userType="+this.data.content.usertype
    })
  },

  onShow: function () {
      
  },

})